﻿using System.ComponentModel.DataAnnotations;

namespace BankCreditPortfolio.Models
{
    public interface IBaseModel<T> : IValidatableObject
    {
        IBaseModel<T> MapFrom(T from);

        T MapTo(T to);
    }
}